package lambda;
import compiler.*;

@Rule("Number")
public class ExpNumber extends Expression {

	public int val;
	public ExpNumber(Number i) { 
		val = Integer.parseInt(i.lexeme());
	}
	
	public String toString() { return Integer.toString(val); }

	Object eval(Binds b) {
		return val;
	} 
}
